<?php 
require_once(dirname(__FILE__)."/../../config/config.php");

$type_id=$_REQUEST['type_id'];
$type_name=$_REQUEST['type_name'];
$update_user=$_REQUEST['update_user'];
$update_time=$_REQUEST['update_time'];

$sql="SELECT * FROM zy_iptv_type";

$rs=mysql_query($sql);

$message=array();

while($row=mysql_fetch_array($rs)){
	
	$message[]=array(
		'type_id'=>$row['type_id'],
	    'type_name'=>$row['type_name'],
	    'update_user'=>$row['update_user'],
	    'update_time'=>$row['update_time']
	);
	
}
echo json_encode($message);

